<#import "/admin/_layout.html" as layout>
<@layout.header "岗位"></@layout.header>
<@layout.body>
    <div class="content-header">
        <div class="container-fluid">
            <div class="row mb-2">
                <div class="col-sm-6">
                    <ol class="breadcrumb float-sm-left">
                        <li class="breadcrumb-item"><a href="#">岗位</a></li>
                        <li class="breadcrumb-item active">列表</li>
                    </ol>
                </div>
            </div>
        </div>
    </div>

    <section class="content">
        <div class="container-fluid">
            <div class="row">
                <div class="col-12">
                    <div class="card">
                        <div class="card-body">
                            <div class="row">
                                <a href="/admin/user/station/edit" class="btn btn-info"><i class="fas fa-plus"></i> 新增</a>
                            </div>
                            <table class="table table-hover" style="width:100%">
                                <thead>
                                    <tr>
                                        <th>ID</th>
                                        <th>岗位名称</th>
                                        <th>描述</th>
                                        <th>创建时间</th>
                                        <th>状态</th>
                                        <th>操作</th>
                                    </tr>
                                </thead>
                                <#list pageData.records as item>
                                    <tr>
                                        <td>${item.id!}</td>
                                        <td>${item.stationName!}</td>
                                        <td>${item.stationDesc!}</td>
                                        <td><@formatTime value=item.created!/></td>
                                        <td>${item.statusStr!}</td>
                                        <td><a href="/admin/user/station/edit?id=${item.id!?c}">编辑</a></td>
                                    </tr>
                                </#list>
                            </table>
                            <@layout._adminPage/>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
</@layout.body>
<@layout.script>
</@layout.script>